package com.aspose.cells;

class zvy extends zck {
   zvy(zn var1, float var2, float var3, zbkr var4) {
      super(var1, var2, var3, var4);
   }

   com.aspose.cells.b.a.b.a.ze a(com.aspose.cells.b.a.b.zq var1) {
      float var2 = var1.f();
      float var3 = var1.g();
      float var4 = var1.h();
      float var5 = var1.i();
      com.aspose.cells.b.a.b.zo[] var6 = new com.aspose.cells.b.a.b.zo[5];
      switch(this.e.b) {
      case 1:
         var6[0] = new com.aspose.cells.b.a.b.zo(var2 + 0.2F * var4, var3);
         var6[1] = new com.aspose.cells.b.a.b.zo(var2 + var4, var3);
         var6[2] = new com.aspose.cells.b.a.b.zo(var2 + var4, var3 + var5);
         var6[3] = new com.aspose.cells.b.a.b.zo(var2, var3 + var5);
         var6[4] = new com.aspose.cells.b.a.b.zo(var2, var3 + 0.2F * var5);
         break;
      case 2:
         var6[0] = new com.aspose.cells.b.a.b.zo(var2, var3);
         var6[1] = new com.aspose.cells.b.a.b.zo(var2 + var4, var3);
         var6[2] = new com.aspose.cells.b.a.b.zo(var2 + var4, var3 + var5);
         var6[3] = new com.aspose.cells.b.a.b.zo(var2 + 0.2F * var4, var3 + var5);
         var6[4] = new com.aspose.cells.b.a.b.zo(var2, var3 + 0.8F * var5);
         break;
      case 3:
         var6[0] = new com.aspose.cells.b.a.b.zo(var2, var3);
         var6[1] = new com.aspose.cells.b.a.b.zo(var2 + var4, var3);
         var6[2] = new com.aspose.cells.b.a.b.zo(var2 + var4, var3 + 0.8F * var5);
         var6[3] = new com.aspose.cells.b.a.b.zo(var2 + 0.8F * var4, var3 + var5);
         var6[4] = new com.aspose.cells.b.a.b.zo(var2, var3 + var5);
         break;
      case 4:
         var6[0] = new com.aspose.cells.b.a.b.zo(var2, var3);
         var6[1] = new com.aspose.cells.b.a.b.zo(var2 + 0.8F * var4, var3);
         var6[2] = new com.aspose.cells.b.a.b.zo(var2 + var4, var3 + 0.2F * var5);
         var6[3] = new com.aspose.cells.b.a.b.zo(var2 + var4, var3 + var5);
         var6[4] = new com.aspose.cells.b.a.b.zo(var2, var3 + var5);
      }

      com.aspose.cells.b.a.b.a.ze var7 = new com.aspose.cells.b.a.b.a.ze();
      var7.b(var6);
      return var7;
   }

   void c(com.aspose.cells.b.a.b.zq var1) {
      var1 = this.d(var1);
      super.c(var1);
   }

   private com.aspose.cells.b.a.b.zq d(com.aspose.cells.b.a.b.zq var1) {
      float var2 = var1.f();
      float var3 = var1.g() + var1.i() * 0.2F;
      com.aspose.cells.b.a.b.zq var4 = new com.aspose.cells.b.a.b.zq(var2, var3, var1.h(), var1.i() * 0.8F);
      return var4;
   }
}
